package pojo;

/**
 * City entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class City implements java.io.Serializable {

	// Fields

	private Long id;
	private Province province;
	private String name;

	// Constructors

	/** default constructor */
	public City() {
	}

	/** minimal constructor */
	public City(Long id) {
		this.id = id;
	}

	/** full constructor */
	public City(Long id, Province province, String name) {
		this.id = id;
		this.province = province;
		this.name = name;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Province getProvince() {
		return this.province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

}